package com.imooc.order.enums;


import lombok.Data;
import lombok.Getter;

/**
 * @Author: JLL
 * @Date: 2019/5/5 21:11
 */

@Getter
public enum ResultEnum {



    PARAM_ERROR(1, "参数错误"),
    CART_EMPTY(2, "购物车为空")

    ;

    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }




}
